<div class="panel panel-default panel-intro">
    <div class="panel-heading">
      {:build_heading(null, false)}
      <ul class="nav nav-tabs">
        <li class="active"><a href="#base" data-toggle="tab">客户资料</a></li>
        <li><a href="#visit" data-toggle="tab">回访列表</a></li>
        <li><a href="#receive" data-toggle="tab">申请记录</a>
      </ul>
    </div>
    <div class="panel-body">
      <div id="myTabContent" class="tab-content">
        <!-- 要注意 id 和 href 属性的捆绑 -->
        <form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">客户名称:</label>
                <div class="control-label col-xs-12 col-sm-2" style="text-align:left;">
                    {$row.nickname}
                </div>
            </div>
            <div class="form-group">
                <label for="title" class="control-label col-xs-12 col-sm-2">性别:</label>
                <div class=" control-label col-xs-12 col-sm-8" style="text-align:left;">
                    {$row.sex_text}
                </div>
            </div>
            <div class="form-group">
                <label for="c-thumbs" class="control-label col-xs-12 col-sm-2">客户来源:</label>
                <div  class="control-label col-xs-12 col-sm-2" style="text-align:left;">
                    {$row.source.name}
                </div>
            </div>
            <div class="form-group">
                <label for="price" class="control-label col-xs-12 col-sm-2">成交状态:</label>
                <div class=" control-label col-xs-12 col-sm-8" style="text-align:left;">
                    {$row.deal_text}
                </div>
            </div>
            <div class="form-group">
                <label for="price" class="control-label col-xs-12 col-sm-2">创建时间:</label>
                <div class=" control-label col-xs-12 col-sm-8" style="text-align:left;">
                    {$row.createtime}
                </div>
            </div>
        </form>
  
        <!-- 客户资料 -->
        <div class="tab-pane fade active in" id="base">
          <div class="panel-body newrow prindBody">
            页面选项卡内容
          </div>
        </div>
  
        <!-- 回访列表 -->
        <div class="tab-pane fade" id="visit">
          <div class="panel-body newrow prindBody">
            页面选项卡内容
          </div>
        </div>
  
        <!-- 申请记录 -->
        <div class="tab-pane fade" id="receive">
          <div class="panel-body newrow prindBody">
            页面选项卡内容
          </div>
        </div>
      </div>
    </div>
  </div>